<?php
//save the posted tag and title data
if (array_key_exists('project_info_form_submit_check', $_POST)) {
$project_id = $_POST['project_id'];
$project_tag = $_POST['tag'];
$project_title = $_POST['title'];
$project_theme = $_POST['theme'];

$query = "UPDATE projects SET title = '$project_title', css = '$project_theme' WHERE id = '$project_id'";
$result = mysql_query($query);
if ( !$result )
{
	echo ( "<P>Error updating project - save_tag_title.php: " . mysql_error() . "</P>" );
}
else
{
	//echo 'project successfully updated';
}
} //top if
?>